/* Begin KR - A1 */

#ifndef _STREET_ADDRESS_H_
#define _STREET_ADDRESS_H_

#include <string>
#include <sstream>
#include <iomanip>	//KLB

using namespace std;

struct Street_address {
        public:
                //Constructor
                Street_address(int no, string name, int postal) : addr_no(no), addr_name(name), addr_postal(postal) {}

                string display() const                  //used to verify whether it has stored the information
                {
                        stringstream ss;
                        ss << "Street_address(" << setw(7) << addr_no << ", " << setw(11) << addr_name << ", " << setw(5) << addr_postal << ")";
                        return ss.str();		//KLB - SAP3 added setw
                }

                //Data, public is much easier
                int     addr_no;
                string  addr_name;
                int     addr_postal;
};

#endif

/* End KR - A1 */